home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Graphics / Utilities / POVRAY / POVRAY II / POV-Ray / POV-Ray.rsrc / TEXT_327_torus.txt < prev    next >
Text File  |  1994-02-10  |  313b  |  8 lines

  1. // torus MAJOR, MINOR (in the X-Z plane)
  2. // MAJOR = float value giving the major radius
  3. // MINOR = float specifying the minor radius
  4. // The major radius extends from the center of  the hole
  5. // to the mid-line of the rim while the minor radius
  6. // is the radius of the cross-section of the rim.
  7. torus { 1.0,  0.2 }
  8.